<?php
use yii\helpers\Html;
use yii\bootstrap\ActiveForm;
use yii\jui\DatePicker;


?>
<?php $form = ActiveForm::begin(['options' => ['enctype' => 'multipart/form-data']]);?>


<?= $form->field($model, 'photos[]')->fileInput(['multiple' => true])->label('图片')?>



<?= $form->field($model, 'describes')->textarea(['style'=>['height'=>'300px']])->label('描述')?>





    <div class="form-group">
        <?= Html::submitButton('Submit', ['class' => 'btn btn-primary',]) ?>
        <a href="http://localhost/basic/web/index.php?r=student/login" class="btn-primary btn">返回登录</a>


    </div>

<?php ActiveForm::end(); ?>